package com.zshan.clinic.admin.entity.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.zshan.clinic.common.util.tree.TreeEntity;
import lombok.Data;

import java.util.List;


/**
 * 穴位
 * @author lichen
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class DictAcupointTreeVo implements TreeEntity<DictAcupointTreeVo> {

    /** 穴位编码;ty */
    private String acupointCode;

    /** 穴位名称;太阳穴 */
    private String acupointText;

    /** 首字母缩写;TYX */
    private String acupointPinyin;

    /** 穴位类型;1经脉2穴位 */
    private String acupointType;

    /** 位置类型;1穴位2部位 */
    private String locationType;

    /** 穴位侧别类型;单/双/左/右/- */
    private String sideType;

    /** 父编码;父编码 */
    private String parentCode;

    /*排序号*/
    private Integer sortNum;

    public List<DictAcupointTreeVo> children;


    @Override
    public String getId() {
        return this.getAcupointCode();
    }

    @Override
    public String getParentId() {
        return this.getParentCode();
    }
}
